package com.expense.entity;

import java.io.Serializable;
import java.util.Date;

import com.expense.annotation.Column;
import com.expense.annotation.Table;

/**
 * 消息信息
 * @author xj
 * */
@Table(tableName="T_AAP_MESSAGEINFO")
public class MessageInfo implements Serializable {
	@Column(columnName="MIID",isPrimaryKey=true)
	private Integer miid;//主键标识ID
	
	@Column(columnName="RECEIVERUID")
	private Integer receiveruid;//接收人ID
	
	@Column(columnName="TEAMID")
	private Integer teamId;//所属团体
	
	
	@Column(columnName="SUBJECT")
	private String subject;//消息主题
	
	@Column(columnName="CONTENT")
	private String content;//消息内容
	
	@Column(columnName="SENDTIME",dateTimeType=1)
	private Date sendTime;//发送时间
	
	@Column(columnName="MESSAGETYPE")
	private Integer messageType;//消息类型
	
	@Column(columnName="HASREAD")
	private Boolean hasRead;//是否已读

	/**
	 * @return the miid
	 */
	public Integer getMiid() {
		return miid;
	}

	/**
	 * @param miid the miid to set
	 */
	public void setMiid(Integer miid) {
		this.miid = miid;
	}

	/**
	 * @return the receiveruid
	 */
	public Integer getReceiveruid() {
		return receiveruid;
	}

	/**
	 * @param receiveruid the receiveruid to set
	 */
	public void setReceiveruid(Integer receiveruid) {
		this.receiveruid = receiveruid;
	}

	/**
	 * @return the teamId
	 */
	public Integer getTeamId() {
		return teamId;
	}

	/**
	 * @param teamId the teamId to set
	 */
	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	/**
	 * @return the subject
	 */
	public String getSubject() {
		return subject;
	}

	/**
	 * @param subject the subject to set
	 */
	public void setSubject(String subject) {
		this.subject = subject;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the sendTime
	 */
	public Date getSendTime() {
		return sendTime;
	}

	/**
	 * @param sendTime the sendTime to set
	 */
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	/**
	 * @return the messageType
	 */
	public Integer getMessageType() {
		return messageType;
	}

	/**
	 * @param messageType the messageType to set
	 */
	public void setMessageType(Integer messageType) {
		this.messageType = messageType;
	}

	/**
	 * @return the hasRead
	 */
	public Boolean getHasRead() {
		return hasRead;
	}

	/**
	 * @param hasRead the hasRead to set
	 */
	public void setHasRead(Boolean hasRead) {
		this.hasRead = hasRead;
	}

	 
	

	
}
